package com.lanzuo.pana.adapter.service;

import cn.hutool.json.JSONObject;
import com.dtflys.forest.annotation.JSONBody;
import com.dtflys.forest.annotation.PostRequest;

public interface MesInterface {

    String MES_REPORT_URL = "{mesReportUrl}";

    /**
     * 上报数据
     *
     * @param releaseRequest 请求体
     * @return 响应
     */
    @PostRequest(url = MES_REPORT_URL,connectTimeout = 3000, readTimeout = 3000)
    JSONObject submitReport(@JSONBody JSONObject releaseRequest);

}